﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.Trading.Purchase.GoodsPurchaseChecklist
{
    /// <summary>
    /// 商品采购清单
    /// </summary>
    public class GoodsPurchaseChecklistRequestDto
    {
        /// <summary>
        /// 商品采购项Id
        /// </summary>		
        [Display(Name = "商品采购项Id")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public long GoodsPurchaseItemId { get; set; }       
        /// <summary>
        /// 采购单价
        /// </summary>		
        [Display(Name = "采购单价")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public decimal PurchasePrice { get; set; }
        /// <summary>
        /// 税率
        /// </summary>		
        [Display(Name = "税率")]
        public decimal? TaxRate { get; set; }
        /// <summary>
        /// 税金金额
        /// </summary>		
        [Display(Name = "税金金额")]
        public decimal? TaxAmount { get; set; }
        /// <summary>
        /// 采购总金额
        /// </summary>		
        [Display(Name = "采购总金额")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public decimal PurchaseAmount { get; set; }
    }
}

